<div id="box">
  <form action="<?php echo base_url(); ?>admin/packagereview/<?php if(isset($_GET["id"])) echo "update?packageid=".$_GET['packageid']."&id=".intval($_GET["id"]);else echo "insert?packageid=".$_GET['packageid'];?>" method="post">
    <fieldset  id="personal">
      <legend>&nbsp;&nbsp;Edit package Review&nbsp;&nbsp;</legend>
      <label>ID : </label>
      ID<br>
      <label>Name : </label>
      <input type="text" required value="<?php echo $detail["name"] ?>" name="name"/>
      <br>
      <label>Title : </label>
      <input type="text" required value="<?php echo $detail["title"] ?>" name="title"/>
      <br>
      <label>Content : </label>
      <textarea name="contents"><?php echo $detail["contents"] ?></textarea>
      <br>
      <label>Mark : </label>
      <input type="text" required value="<?php echo $detail["mark"] ?>" name="mark"/>
      <br>
      <label>Create Date : </label>
      <input type="text" id="datepicker" name="createdate" required value="<?php echo date('Y-m-d',strtotime($detail["createdate"])); ?>"/>
      <br>
     
      <div style="float:left;padding-top:5px;padding-left:40%;">
        <input type="reset" value="Reset">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" value="Submit">
      </div>
    </fieldset>
  </form>
</div>